﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using Model;

public partial class Houses : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Bind();
        Page.DataBind();
    }

    private void Bind()
    {
        this.rptHouseList.DataSource = HouseManage.GetAllHouses();
        this.rptHouseList.DataBind();
    }
}